class Filter {
  batchStatusFilter (originVal) {
    const status = {
      BAS_CREAT: '已创建',
      BAS_FIHED: '已完成',
      // CANL: '撤消完成',
      BAS_DELY: '已发货'
    }

    return status[originVal]
  }

  deliveryTypeFilter (originVal) {
    const type = {
      SEND: '自送',
      POST: '自寄',
      PICK: '上门取件'
    }
    return type[originVal]
  }
}

export default new Filter()
